package com.cloudkinto.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 
 * </p>
 * @author hua
 * @since 2021-09-07
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("t_asin_shipment")
public class AsinShipmentDo extends Model<AsinShipmentDo> {

    private static final long serialVersionUID=1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @TableField("shipment_id")
    private String shipmentId;

    @TableField("shop_id")
    private Long shopId;

    @TableField("market_place_id")
    private Long marketPlaceId;

    @TableField("company_id")
    private Long companyId;

    @TableField("MSkus")
    private Integer MSkus;

    @TableField("shipment_status")
    private Long shipmentStatus;

    @TableField("shipped_quantity")
    private Integer shippedQuantity;

    @TableField("received_quantity")
    private Integer receivedQuantity;

    @TableField("destination")
    private String destination;

    @TableField("create_time")
    private Date createTime;

    @TableField("update_time")
    private Date updateTime;

    @TableField("shipment_name")
    private String shipmentName;

    @TableField("address_line")
    private String addressLine;

    @TableField("address_name")
    private String addressName;

    @TableField("postal_code")
    private String postalCode;

    @TableField("country_code")
    private String countryCode;

    @TableField("shipment_type")
    private String shipmentType;

    @TableField("is_partnered")
    private String isPartnered;

    @TableField("seller_id")
    private String sellerId;

    @TableField("package_type")
    private String packageType;

    @TableField("telephone")
    private String telephone;

    @TableField("tips")
    private String tips;

    @TableField("label_type")
    private String labelType;

    @TableField("city")
    private String city;

    @TableField("country_code_id")
    private Integer countryCodeId;

    @TableField("district_or_county")
    private String districtOrCounty;

    @TableField("state_or_province_code")
    private String stateOrProvinceCode;


    @Override
    protected Serializable pkVal() {
        return this.id;
    }

}
